package com.bltec.emergency.model;


import lombok.*;
import org.springframework.data.annotation.Id;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Permission implements Serializable {
    @Id
    private Long id;
    private Long parentId;
    private String  type;
    private String  name;
    private String  percode;
    private String  href;
    private Integer permissionOrder;
    private Long createBy;
    private Long updateBy;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private Boolean enable;

}
